<?php

session_set_cookie_params(60*10);
session_name("Music");
session_start();

if(isset($_POST)){
    if(isset($_POST['title'])) {
        $_SESSION['song'] = $_SESSION[$_POST['title']];
        echo json_encode($_SESSION[$_POST['title']]);
    }
}

?>
